package com.hjm.project.qyNotice.qyNotice.domain;

import java.util.Date;
import com.hjm.framework.aspectj.lang.annotation.Excel;
import com.hjm.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 企业公告对象 notice
 * 
 * @author LOVE
 * @date 2020-11-28
 */
public class qyNotice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 公告对象（-1 为全部） */
    @Excel(name = "公告对象", readConverterExp = "-=1,为=全部")
    private String nobject;

    /** 公告开始时间 */
    @Excel(name = "公告开始时间")
    private String begindate;

    /** 公告结束时间 */
    @Excel(name = "公告结束时间")
    private String enddate;

    /** 删除状态 （0 未删除 1 删除 ） */
    @Excel(name = "删除状态 ", readConverterExp = "0=,未=删除,1=,删=除")
    private Long isdelete;

    /** 添加人 */
    @Excel(name = "添加人")
    private String addman;

    /** 添加时间 */
    @Excel(name = "添加时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date adddate;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setNobject(String nobject)
    {
        this.nobject = nobject;
    }

    public String getNobject()
    {
        return nobject;
    }
    public void setBegindate(String begindate)
    {
        this.begindate = begindate;
    }

    public String getBegindate()
    {
        return begindate;
    }
    public void setEnddate(String enddate)
    {
        this.enddate = enddate;
    }

    public String getEnddate()
    {
        return enddate;
    }
    public void setIsdelete(Long isdelete)
    {
        this.isdelete = isdelete;
    }

    public Long getIsdelete()
    {
        return isdelete;
    }
    public void setAddman(String addman)
    {
        this.addman = addman;
    }

    public String getAddman()
    {
        return addman;
    }
    public void setAdddate(Date adddate)
    {
        this.adddate = adddate;
    }

    public Date getAdddate()
    {
        return adddate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("content", getContent())
            .append("nobject", getNobject())
            .append("begindate", getBegindate())
            .append("enddate", getEnddate())
            .append("isdelete", getIsdelete())
            .append("addman", getAddman())
            .append("adddate", getAdddate())
            .toString();
    }
}
